package com.ltsh.fim.web;

import com.ltsh.fim.server.ChineseProverbServer;
import com.ltsh.fim.server.config.ServiceContext;
import com.ltsh.fim.service.context.ApplicationContext;
import com.ltsh.fim.service.entity.UserInfo;
import com.ltsh.fim.web.handler.LoginHandler;
import com.ltsh.fim.web.impl.SectionImpl;

public class StartUp {
    public static void main(String[] args) {
        ApplicationContext.init();
        ServiceContext.addHandler("1", new LoginHandler());
        new ChineseProverbServer(new SectionImpl()).run(8080);

    }
}
